<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .yeye{
            width: 300px;
            height: 300px;
            background: palegoldenrod;
        }
        .father{
            width: 200px;
            height: 200px;
            background: palegreen;
        }
        .son{
            width: 100px;
            height: 100px;
            background: palevioletred;
        }
    </style>
</head>
<body>
    <button>移除</button>
    <div class="yeye">
        <div class="father">
            <div class="son"></div>
        </div>
    </div>
    <script>
        var btn = document.querySelector('button')
        var yeye = document.querySelector('.yeye')
        var father = document.querySelector('.father')
        var son = document.querySelector('.son')

        yeye.addEventListener('click',function(){
            console.log('yeye')
        },true)
        function fa(){
            console.log('father')
        }
        father.addEventListener('click',fa,true)
        son.addEventListener('click',function(){
            console.log('son')
        },true)

        btn.addEventListener('click',function(){
            father.removeEventListener('click',fa,true)
        })

    </script>
</body>
</html>